package com.ziyun.erp.modules.goodsImage.service;

import com.baomidou.mybatisplus.service.IService;
import com.ziyun.erp.modules.goodsImage.entity.GoodsImageEntity;
import io.renren.common.utils.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * 图片表
 *
 * @author xueqz
 * @email 
 * @date 2018-08-29 08:42:27
 */
public interface GoodsImageService extends IService<GoodsImageEntity> {

    PageUtils queryPage(Map<String, Object> params);

    Integer saveImage(GoodsImageEntity goodsImage);

    List<GoodsImageEntity> selectImageEntity(String imageUrls);

    void updateImage(Integer categoryId, String imgId);

    void flagDelImage(List<Integer> ids);

    String handlerInsert(List<String> urlList, String image_url,Long goodsId);

    void newImageUpdate(Long goodsId,List<Integer> ids);
}

